package com.project.weather.pojo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;

/**
 *<p>Title:OperLogBean.java</p>
 *<p>Description:操作日志记录 Bean(对应表名:wea_oper_log)</p>
 *@author xxx
 *@version 1.0
 *@Automatically generate by Coder in 2021-12-21 16:08
 */
public class OperLogBean implements Serializable {
	private static final long serialVersionUID = 1L;
    private Integer oper_id;		//日志主键
    private String title;		//模块标题
    private Integer business_type;		//业务类型（0其它1新增2修改3删除）
	private String business_type_name;	//业务类型名称
    private String method;		//方法名称
    private String request_method;		//请求方式
	private Integer oper_user_id;	//操作人员ID
    private String oper_name;		//操作人员
    private String oper_url;		//请求URL
    private String oper_ip;		//主机地址
    private String oper_location;		//操作地点
    private String oper_param;		//请求参数
    private String json_result;		//返回参数
    private Integer status;		//操作状态（0正常1异常）
    private String error_msg;		//错误消息
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh",timezone="GMT+8")
    private Date oper_time;		//操作时间

	private String oper_user_role;	//操作人员角色

	/**
	*<b>Summary:设置日志主键</b>
	* setOper_id
	* @param oper_id
	*/
    public void setOper_id(Integer oper_id){
    	this.oper_id = oper_id;
    }
    /**
	*<b>Summary:获取日志主键</b>
	* getOper_id
	* @return
	*/
    public Integer getOper_id(){
    	return oper_id;
    }
    
	/**
	*<b>Summary:设置模块标题</b>
	* setTitle
	* @param title
	*/
    public void setTitle(String title){
    	this.title = title;
    }
    /**
	*<b>Summary:获取模块标题</b>
	* getTitle
	* @return
	*/
    public String getTitle(){
    	return title;
    }
    
	/**
	*<b>Summary:设置业务类型（0其它1新增2修改3删除）</b>
	* setBusiness_type
	* @param business_type
	*/
    public void setBusiness_type(Integer business_type){
    	this.business_type = business_type;
    }
    /**
	*<b>Summary:获取业务类型（0其它1新增2修改3删除）</b>
	* getBusiness_type
	* @return
	*/
    public Integer getBusiness_type(){
    	return business_type;
    }
    
	/**
	*<b>Summary:设置方法名称</b>
	* setMethod
	* @param method
	*/
    public void setMethod(String method){
    	this.method = method;
    }
    /**
	*<b>Summary:获取方法名称</b>
	* getMethod
	* @return
	*/
    public String getMethod(){
    	return method;
    }
    
	/**
	*<b>Summary:设置请求方式</b>
	* setRequest_method
	* @param request_method
	*/
    public void setRequest_method(String request_method){
    	this.request_method = request_method;
    }
    /**
	*<b>Summary:获取请求方式</b>
	* getRequest_method
	* @return
	*/
    public String getRequest_method(){
    	return request_method;
    }
    
	/**
	*<b>Summary:设置操作人员</b>
	* setOper_name
	* @param oper_name
	*/
    public void setOper_name(String oper_name){
    	this.oper_name = oper_name;
    }
    /**
	*<b>Summary:获取操作人员</b>
	* getOper_name
	* @return
	*/
    public String getOper_name(){
    	return oper_name;
    }
    
	/**
	*<b>Summary:设置请求URL</b>
	* setOper_url
	* @param oper_url
	*/
    public void setOper_url(String oper_url){
    	this.oper_url = oper_url;
    }
    /**
	*<b>Summary:获取请求URL</b>
	* getOper_url
	* @return
	*/
    public String getOper_url(){
    	return oper_url;
    }
    
	/**
	*<b>Summary:设置主机地址</b>
	* setOper_ip
	* @param oper_ip
	*/
    public void setOper_ip(String oper_ip){
    	this.oper_ip = oper_ip;
    }
    /**
	*<b>Summary:获取主机地址</b>
	* getOper_ip
	* @return
	*/
    public String getOper_ip(){
    	return oper_ip;
    }
    
	/**
	*<b>Summary:设置操作地点</b>
	* setOper_location
	* @param oper_location
	*/
    public void setOper_location(String oper_location){
    	this.oper_location = oper_location;
    }
    /**
	*<b>Summary:获取操作地点</b>
	* getOper_location
	* @return
	*/
    public String getOper_location(){
    	return oper_location;
    }
    
	/**
	*<b>Summary:设置请求参数</b>
	* setOper_param
	* @param oper_param
	*/
    public void setOper_param(String oper_param){
    	this.oper_param = oper_param;
    }
    /**
	*<b>Summary:获取请求参数</b>
	* getOper_param
	* @return
	*/
    public String getOper_param(){
    	return oper_param;
    }
    
	/**
	*<b>Summary:设置返回参数</b>
	* setJson_result
	* @param json_result
	*/
    public void setJson_result(String json_result){
    	this.json_result = json_result;
    }
    /**
	*<b>Summary:获取返回参数</b>
	* getJson_result
	* @return
	*/
    public String getJson_result(){
    	return json_result;
    }
    
	/**
	*<b>Summary:设置操作状态（0正常1异常）</b>
	* setStatus
	* @param status
	*/
    public void setStatus(Integer status){
    	this.status = status;
    }
    /**
	*<b>Summary:获取操作状态（0正常1异常）</b>
	* getStatus
	* @return
	*/
    public Integer getStatus(){
    	return status;
    }
    
	/**
	*<b>Summary:设置错误消息</b>
	* setError_msg
	* @param error_msg
	*/
    public void setError_msg(String error_msg){
    	this.error_msg = error_msg;
    }
    /**
	*<b>Summary:获取错误消息</b>
	* getError_msg
	* @return
	*/
    public String getError_msg(){
    	return error_msg;
    }
    
	/**
	*<b>Summary:设置操作时间</b>
	* setOper_time
	* @param oper_time
	*/
    public void setOper_time(Date oper_time){
    	this.oper_time = oper_time;
    }
    /**
	*<b>Summary:获取操作时间</b>
	* getOper_time
	* @return
	*/
    public Date getOper_time(){
    	return oper_time;
    }

	public String getBusiness_type_name() {
		return business_type_name;
	}

	public void setBusiness_type_name(String business_type_name) {
		this.business_type_name = business_type_name;
	}

	public Integer getOper_user_id() {
		return oper_user_id;
	}

	public void setOper_user_id(Integer oper_user_id) {
		this.oper_user_id = oper_user_id;
	}

	public String getOper_user_role() {
		return oper_user_role;
	}

	public void setOper_user_role(String oper_user_role) {
		this.oper_user_role = oper_user_role;
	}
}